// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:32


// Source File Name:   vi.java

package com.zelix;

import java.io.*;


//            ui, zo, c1, cm, 
//            kl, nh, vh, si, 
//            uh

public class vi extends ui
{

    String j;
    private static String z[];

    public vi(int i)
    {
        super(i);
    }

    protected void a(nh nh1, int i, int k)
    {
        Process process;
label0:
        {
            int i1 = si.g;
            PrintWriter printwriter = nh1.n();
            String s = vh.e();
            String s1 = s + z[0];
            printwriter.println(s1 + z[11] + j + "]");
            System.out.println(s1);
            Runtime runtime = Runtime.getRuntime();
            process = null;
            try
            {
                String s2;
label1:
                {
                    if(zo.i.startsWith(z[5]))
                    {
                        s2 = z[9];
                        if(i1 == 0)
                            break label1;
                    }
                    if(zo.i.startsWith(z[3]) || zo.i.startsWith(z[1]) || zo.i.startsWith(z[2]) || zo.i.startsWith(z[6]))
                    {
                        s2 = z[8];
                        if(i1 == 0)
                            break label1;
                    }
                    if(zo.i.startsWith(z[4]))
                    {
                        s2 = z[8];
                        if(i1 == 0)
                            break label1;
                    }
                    s2 = "";
                }
                process = runtime.exec(s2 + j);
                c1 c1_1 = new c1(process.getErrorStream(), printwriter, s.length() + 1, true);
                c1 c1_2 = new c1(process.getInputStream(), printwriter, s.length() + 1, false);
                c1_1.start();
                c1_2.start();
                if(!zo.j.startsWith(z[10]))
                    try
                    {
                        c1_1.join();
                        c1_2.join();
                    }
                    catch(InterruptedException interruptedexception) { }
                break label0;
            }
            catch(IOException ioexception)
            {
                nh1.a(a() + z[7] + ioexception.getMessage());
            }
        }
        int l;
        try
        {
            l = process.waitFor();
        }
        catch(InterruptedException _ex) { }
    }

    public String a()
    {
        return z[12];
    }

    public void a(uh uh, nh nh1)
    {
        int i = g();
        cm cm1 = (cm)a(0);
        int k = nh1.x();
        int l = nh1.h();
        cm1.a(this, nh1);
        j = cm1.d();
        a(nh1, k, l);
    }
               private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x5e;
                    break;
                case 1:
                    key = 55;
                    break;
                case 2:
                    key = 17;
                    break;
                case 3:
                    key = 88;
                    break;
                default:
                    key = 65;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }
    static 
    {
        String as[];
        as = new String[13];
        as[0] = "~ri=\"+Cx6&~T~5,?Yuvop";
        as[1] = "\t^\177<.)D1jqn";
        as[2] = "\t^\177<.)D1\000\021";
        as[3] = "\t^\177<.)D1\026\025";
        as[4] = "\t^\177<.)D";
        as[5] = "\t^\177<.)D1a";
        as[6] = "\021d>j";
        as[7] = "~Qp1-;S+x";
        as[8] = "=Zuxn=\027";
        as[9] = "=X|5 0S?;.3\027>;a";
        as[10] = "\023^r*.-Xw,";
        as[11] = "~l";
        as[12] = ";Ot;4*R";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;

    }
}